#include "addclassdlg.h"
#include "ui_addclassdlg.h"
#include <QDebug>

AddClassDlg::AddClassDlg(QWidget* parent)
    : QDialog(parent)
    , ui(new Ui::AddClassDlg)
{
    ui->setupUi(this);

    connect(ui->surePushButton, &QPushButton::clicked, [=]() {
        m_classNum = ui->addClassComboBox->currentText();
        accept();
    });
}

AddClassDlg::~AddClassDlg()
{
    delete ui;
}
